﻿using System;
using System.Collections.Generic;

namespace CalculatorOperationAPI
{
    public interface IOperation
    {
        /// <summary>
        /// Return a list of the required paramters for current operation
        /// </summary>
        List<string> GetOperaionParameters();

        /// <summary>
        /// Calculate method recieve a dictionary with all parameter names and values for that operation
        /// Make the required operation and return the result as string
        /// </summary>
        string Calculate(Dictionary<string, string> parameters);
    }
}
